// import request from '@/utils/request'
import request from '@/api/urlCovert'
export function login(data) {
  return request({
    url: '/user/login',
    method: 'post',
    params: data
  })
}

export function getInfo(id) {
  return request({
    url: '/user/info',
    method: 'post',
    params: { id }
  })
}
export function getAllUser(id) {
  return request({
    url: '/user/getAllUser',
    method: 'post',
    params: { id }
  })
}
